home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / fs_snow.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.9 KB  |  106 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.     }
  14.     client
  15.     {
  16.         //cache some stuff used in this effect
  17.         cache bhole_snow.spr // cache the bullet hole shader
  18.         cache bh_snow_puff.spr
  19.  
  20.         // fast, more solid chunks of snow
  21.         sfx originspawn
  22.         (
  23.             model bh_snow_puff.spr
  24.             spawnrange 3072
  25.             spritegridlighting
  26.             alpha 0.8
  27.             angles 0 0 random 360
  28.             offsetalongaxis random 6 crandom 2 crandom 2
  29.             count 2
  30.             velocity 80
  31.             randvelaxis random 100 crandom 32 crandom 32
  32.             accel 0 0 -800
  33.             life 0.5 0.6
  34.             fadedelay 0.3
  35.             scalemin 0.1
  36.             scalemax 0.15
  37.             scalerate 0.3
  38.         )
  39.  
  40.         // fast, more solid chunks of snow, part 2
  41.         delayedsfx 0.05 originspawn
  42.         (
  43.             model bh_snow_puff.spr
  44.             spawnrange 3072
  45.             spritegridlighting
  46.             alpha 0.8
  47.             angles 0 0 random 360
  48.             offsetalongaxis random 6 crandom 2 crandom 2
  49.             count 2
  50.             velocity 70
  51.             randvelaxis random 100 crandom 32 crandom 32
  52.             accel 0 0 -800
  53.             life 0.5 0.6
  54.             fadedelay 0.3
  55.             scalemin 0.1
  56.             scalemax 0.15
  57.             scalerate 0.3
  58.         )
  59.         
  60.         // fast, large puffs of snow
  61.         sfx originspawn
  62.         (
  63.             model bh_snow_puff.spr
  64.             spawnrange 3072
  65.             spritegridlighting
  66.             alpha 0.5
  67.             angles 0 0 random 360
  68.             offset random 2 crandom 2 crandom 2
  69.             count 1
  70.             velocity 70
  71.             randvelaxis random 30 crandom 30 crandom 30
  72.             accel 0 0 -600
  73.             life 0.7 0.9
  74.             fadedelay 0.5
  75.             scalemin 0.2
  76.             scalemax 0.25
  77.             scalerate 2.0
  78.         )
  79.         
  80.         // fast, large puffs of snow
  81.         delayedsfx 0.1 originspawn
  82.         (
  83.             model bh_snow_puff.spr
  84.             spawnrange 3072
  85.             spritegridlighting
  86.             alpha 0.5
  87.             angles 0 0 random 360
  88.             offset random 2 crandom 2 crandom 2
  89.             count 1
  90.             velocity 60
  91.             randvelaxis random 30 crandom 30 crandom 30
  92.             accel 0 0 -600
  93.             life 0.7 0.9
  94.             fadedelay 0.5
  95.             scalemin 0.2
  96.             scalemax 0.25
  97.             scalerate 2.0
  98.         )
  99.     }
  100. }
  101.  
  102. // This section is just needed to be a valid tiki file
  103. animations
  104. {
  105.     idle dummy2.skc 
  106. }